package graph

import java.util

/**
 * Created with IntelliJ IDEA.
 * User: Michi
 * Date: 06.05.13
 * Time: 12:02
 * To change this template use File | Settings | File Templates.
 */
class Edge(sNode: Node, eNode: Node,cost: Int ) {

  var costs: Int= cost
  var startNode: Node = sNode
  var endNode: Node = eNode


  def getStartNode(): Node = startNode

  def getEndNode(): Node = endNode

  def getCosts: Int = costs

  def setStartNode(stNode: Node){
  startNode = stNode
  }

  def setEndNode(enNode: Node){
    endNode = enNode
  }

  def setCosts(cos: Int){
    costs = cos
  }






}
